home *** CD-ROM | disk | FTP | other *** search
- /*
- * REXX:ttx/WordSpellCallBack.rexx ... needed by WordSpell.ttx
- * Copyright © 1991 Christopher A. Wichura
- * Based on REXX:ced/WordSpellCallBack.rexx by Loren J. Rittle
- *
- * Use as you will, just document your changes and keep my copyright
- * intact.
- *
- * Christopher A. Wichura
- * caw@miroc.chi.il.us
- *
- * Reworked for GUISpell public release: Thu Mar 26 02:12:39 1992 LJR
- */
-
- options results
-
- parse arg portname oldline oldcolumn oldfold item
- address value portname
-
- GetCursorPos
- parse var result line column fold .
- if line ~= oldline then exit;
- if column ~= oldcolumn then exit;
- if fold ~= oldfold then exit;
-
- address 'GUISpell' currenttext
- ReplaceWord result
-
- exit
-
-